﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;

namespace LEDScreenLinkTool.Util
{
    public class ResourceHelper
    {
        public static string GetString(string key)
        {
            try
            {
                return Application.Current.Resources[key].ToString();
            }
            catch
            {
                return Application.Current.Resources["ResourceNotExist"].ToString() + key;
            }
        }

    }
}
